package utils;



import dao.IExamDao;
import dao.IStudentDao;
import dao.ITeacherDao;
import daoImpl.ExamDaoImpl;
import daoImpl.StudentDaoImpl;
import daoImpl.TeacherDaoImpl;

public class DaoFactory {
    public static IExamDao getExamDaoInstance() {
        return new ExamDaoImpl();
    }
    public static IStudentDao getStudentDaoInstance() {
        return new StudentDaoImpl();
    }
    public static ITeacherDao getTeacherDaoInstance() {
        return new TeacherDaoImpl();
    }
}
